﻿using System.Collections.Generic;
using System.Threading.Tasks;
using JT.WEB.Models.Were;

namespace JT.WEB.Service
{
    public interface IWereHouseService
    {
        string GetString();
        Task<TbWuPinInfo> GetOneGoods(int id);
        Task AddGoods(TbWuPinInfo wuPinInfo);
        Task<IEnumerable<TbChuRuInfo>> GetAllAccessInfo();
        Task<TbChuRuInfo> GetOneAccessInfo(int id);
        Task<int> AddAccessInfo(TbChuRuInfo tbChuRuInfo);
        Task<double?> UpdateInventory(TbChuRuInfo tbChuRuInfo, bool createOrDelete); //Create : true ,Delete :false
        Task UpdateAccessInfo(TbChuRuInfo tbChuRuInfo);

    }
}
